package com.zerone.dy.demomsg.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document(collection = "JbFriends")
public class JbFriends {

    @Id
    private String gid;
    private String selfAcNo;
    private String friendAcNo;
    private String friendNickname;//昵称
    private String friendHeadImg;//头像
    private String friendRemark;//备注
    private String tas;//标签
    private int followStats;//关注状态 0我关注ta 1他关注我 2互相关注
    private int blackStats;//0正常 1拉黑
    private Date meFollowHimTime;//我关注他的时间
    private Date himFollowMeTime;//他关注我的时间
}
